//
//  WLPullDownRefreshView.swift
//  WeiBo2017
//
//  Created by 王璐 on 2017/4/21.
//  Copyright © 2017年 wl. All rights reserved.
//

import UIKit
import HMRefresh

class WLPullDownRefreshView: UIView,HMRefreshViewDelegate {
    /// 下拉提示图像
   @IBOutlet  weak var pulldownIcon: UIImageView?
    
    /// 刷新指示器
   @IBOutlet weak var refreshIndicator: UIActivityIndicatorView?
    
    /// 提示标签
   @IBOutlet weak var tipLabel: UILabel?
    /// 刷新时间标签
   @IBOutlet weak var timeLabel: UILabel?

    /// 从XIB加载自定义视图
    class func refreshView()->WLPullDownRefreshView{
        
        let nib = UINib(nibName: "WLPullDownRefreshView", bundle: nil)
        
        return nib.instantiate(withOwner: nil, options: nil).last as! WLPullDownRefreshView
    }

}
